# -*- coding: utf-8 -*-
# @Time : 2022/4/9 21:01
# @Author : Liuqing
# @File : 21_计算运行时间.py
# @Software : PyCharm
import time

start_time = time.time()
sum = 0
for i in range(1, 100000, 2):
    sum += i
print(sum)

end_time = time.time()
total_time = end_time - start_time
print("Time: ", total_time)

